module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    // 可选链插件 ?.
    '@babel/plugin-proposal-optional-chaining',
    // 空值合并运算符 ??
    '@babel/plugin-proposal-nullish-coalescing-operator',
    // 逻辑空值赋值运算符 ??=
    '@babel/plugin-proposal-logical-assignment-operators'
  ]
}
